import Vue from 'vue'
import App from './App.vue'
import router from './router'
import elementui from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios'
import './assets/fonts/iconfont.css'
Vue.use(elementui)
Vue.config.productionTip = false
axios.defaults.baseURL="http://localhost:7171/"
Vue.filter("duration",(e)=> {
  e=e*1000;
  var date=new Date(e);
  var minute = date.getMinutes()
  var second = date.getSeconds()
  return minute + ':' + second;
})
Vue.prototype.$http=axios
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
